package com.david.cloud.filter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@Data
@RefreshScope
@ConfigurationProperties(prefix = "rate-limiter")
public class RateLimiterProperties {
    private Integer permits;
    private Integer period;
}
